Interface Flow

All Superinterfaces:
IPCObject
All Known Implementing Classes:
FlowImpl

public interface Flow extends IPCObject
Information provided by the PKI file:

    \class Flow
    
    \brief Flow holds and manipulates the flow routes in FlowTable objects.
    
    \example network().getDevice("Router0").getProcess("IpsecProcess").getCryptoMapSetAt(0).getTableAtIndex(0).getFlowAt(0)
    
Author:
Auto-generated
  • Method Details

    • getPeerCount

      int getPeerCount()
      Information provided by the PKI file:
      
          \brief Returns the number of peers.
          
          \return int, the number of peers.
          
              
      Returns:
      int Returns a int
    • getPeerAt

      IPsecPeer getPeerAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the peer at the specified index.
          
          \param index, the index of the peer of interest.
          
          \return IpsecPeer, the IpsecPeer object at the specified index.
          
              
      Parameters:
      index - Takes in a parameter of index
      Returns:
      IPsecPeer Returns a IPsecPeer
    • getPeerByIp

      IPsecPeer getPeerByIp(IPAddress addr)
      Information provided by the PKI file:
      
          \brief Returns the peer with the specified IP address.
          
          \param addr, the IP address of the peer of interest.
          
          \return IpsecPeer, the IpsecPeer object with the specified IP address.
          
              
      Parameters:
      addr - Takes in a parameter of addr
      Returns:
      IPsecPeer Returns a IPsecPeer